import { InputHandle, OutputHandle, NodeContainer } from "./NodeBase";

function ImageGrayScaleNode({ data }) {
  return (
    <>
      <InputHandle label="image" id="0" />

      <OutputHandle label="image" id="0" />

      <NodeContainer title="灰度化" />
    </>
  );
}

function ImageFFTNode({data}){
  return (
    <>
      <InputHandle label="image" id="0" />

      <OutputHandle label="spectrum" id="0" />

      <NodeContainer title="FFT" />
    </>
  );
}

function ImageDCTNode({data}){
  return (
    <>
      <InputHandle label="image" id="0" />

      <OutputHandle label="spectrum" id="0" />

      <NodeContainer title="DCT" />
    </>
  );
}


function ImageHistgramNode({data}){
  return (
    <>
      <InputHandle label="image" id="0" />

      <NodeContainer title="直方图" />
    </>
  );
}

export { ImageGrayScaleNode, ImageFFTNode, ImageDCTNode, ImageHistgramNode };
